package com.czh.springboot04.service;


import com.czh.springboot04.entity.Coursecollection;
import com.github.pagehelper.PageInfo;

public interface CoursecollectionService {
    PageInfo<Coursecollection> selectCoursemark(int pageNum, int pageSize, String nickName, String courseName);

    //根据用户id和课程id查询
    Coursecollection selectCoursemarkByUserIdAndKcid(int userId, int kcid);
    //添加(用户id和课程id)
    int insertCoursecollection(int userid,int kcid);
    //删除
    int deleteCoursecollection(int userid,int kcid);
}
